let RPConfigFromXHR = localStorage.getItem('RPConfigFromXHR')
if (RPConfigFromXHR) {
    RPConfigFromXHR = JSON.parse(RPConfigFromXHR)
    RPConfigFromXHR = {
        cas_logout: RPConfigFromXHR.logoutUrl,
        ripples_mgt_url: RPConfigFromXHR.mgtUrl,
        ripples_setting_url: RPConfigFromXHR.settingUrl
    }
}
let _RPConfig = window.RPConfig
// _RPConfig &&
//   _RPConfig.items.forEach(item => {
//     _RPConfig[item.key] = item.value
//   })

_RPConfig = _RPConfig || {}
window.RPConfig = { ...APP.CONFIG, ..._RPConfig,  ...RPConfigFromXHR }
